package com.certification.service;


import com.certification.dto.ProfessionSelfEvaluationDTO;
import com.certification.entity.ProfessionSelfEvaluation;
import com.certification.vo.ProfessionSelfEvaluationVO;
import com.certification.vo.ResponseMessage;

import java.util.List;

/**
 * @author copa
 * @createDate 2022-03-29 21:17
 * @function
 */
public interface ProfessionSelfEvaluationService {

    ResponseMessage<String> addPro(ProfessionSelfEvaluationDTO professionSelfEvaluationDTO, Integer userId);

    ResponseMessage<List<ProfessionSelfEvaluationVO>> getPro(Integer userId);

    ResponseMessage<ProfessionSelfEvaluation> getProDetail(Integer proId, Integer userId);

    ResponseMessage<ProfessionSelfEvaluation> putPro(ProfessionSelfEvaluationDTO professionSelfEvaluationDTO, Integer userId);

    ResponseMessage<ProfessionSelfEvaluation> getProDetailAdmin(Integer certId);

    ResponseMessage<String> putProAdmin(Integer certId, Integer status, String remark);

    ResponseMessage<String> postExpertAdvice(Integer certId, Integer status, String expertAdvice);

    ResponseMessage<String> putExpertAdvice(Integer certId, String expertAdvice);

    ResponseMessage<ProfessionSelfEvaluation> getProDetailByCertId(Integer certId);
}
